Update large community list on XCO.
efa policy large-community-list update --operation add-device --ip 10.139.44.159 --name lgcomm1 --type standard +---------------------------+---------+--------+-------------------+-----------+ | Large Community List Name | Seq num | Action | Std Value | Ext Value | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 5 | permit | 10:10:10 20:20:20 | | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 10 | permit | 30:30:30 | | +---------------------------+---------+--------+-------------------+-----------+ Community List details +---------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+---------+--------+-----------------+ | 10.139.44.159 | Success | | | +---------------+---------+--------+-----------------+ Device ResultsThis example configures a Large Community List of type extended on the specified device.
efa policy large-community-list update –-name lgcommExt1 –-type extended –-operation add-device --ip 10.139.44.159 +---------------------+---------+--------+----------------------+-----------------+ | Community List Name | Seq num | Action | Std Value | Ext Value. | +---------------------+---------+--------+----------------------+-----------------+ | lgcommExt1 | 5 | permit | | 645XX:.*:.* | +---------------------+---------+--------+----------------------+-----------------+ Community List details +---------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+---------+--------+-----------------+ | 10.139.44.159 | Success | | | +---------------+---------+--------+-----------------+ Device Results
efa policy large-community-list update --operation add-device --ip 10.139.44.159-160 --name lgcomm1 --type standard +---------------------------+---------+--------+-------------------+-----------+ | Large Community List Name | Seq num | Action | Std Value | Ext Value | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 5 | permit | 10:10:10 20:20:20 | | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 10 | permit | 30:30:30 | | +---------------------------+---------+--------+-------------------+-----------+ Community List details +---------------+---------+--------------------------------------------------------------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+---------+--------------------------------------------------------------+-----------------+ | 10.139.44.159 | Success | | | +---------------+---------+--------------------------------------------------------------+-----------------+ | 10.139.44.160 | Failed | Policy lgcomm1 type large-community-list seq# 5 operation | | | | | failed on device 10.139.44.160 due to Reason: For seq 10: | | | | | netconf rpc [error] '%Error: An IP Community access-list | | | | | with this name and instance number already exists' | | +---------------+---------+--------------------------------------------------------------+-----------------+ Device ResultsThis example removes a Large Community List from the specified device.
efa policy large-community-list update –-name lgcomm1 –-type standard –-operation remove-device --ip 10.139.44.159 +---------------------------+---------+--------+-------------------+-----------+ | Large Community List Name | Seq num | Action | Std Value | Ext Value | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 5 | permit | 10:10:10 20:20:20 | | +---------------------------+---------+--------+-------------------+-----------+ | lgcomm1 | 10 | permit | 30:30:30 | | +---------------------------+---------+--------+-------------------+-----------+ Community List details +---------------+---------+--------+-----------------+ | IP Address | Result | Reason | Rollback reason | +---------------+---------+--------+-----------------+ | 10.139.44.159 | Success | | | +---------------+---------+--------+-----------------+ Device Results